package com.gp.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 设备(Device)实体类
 *
 * @author makejava
 * @since 2024-04-22 17:17:18
 */
@Data
public class Device implements Serializable {
    private static final long serialVersionUID = 451341583007069245L;
    /**
     * 设备id
     */
    private Long id;
    /**
     * 设备名称
     */
    private String name;
    /**
     * 监测区域id
     */
    private Long areaid;
    /**
     * 设备状态
     */
    private Integer state;
    /**
     * 备注
     */
    private String remark;

    private Integer flag;

    private Integer updaterId;

    private Date updateTime;
    /**
     * 设备类型id
     */
    private Long typeId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getAreaid() {
        return areaid;
    }

    public void setAreaid(Long areaid) {
        this.areaid = areaid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getUpdaterId() {
        return updaterId;
    }

    public void setUpdaterId(Integer updaterId) {
        this.updaterId = updaterId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

}

